package com.blog.util;

import tk.mybatis.mapper.genid.GenId;

import java.util.UUID;

/**
 * @author xiaobu
 * @version JDK1.8.0_171
 * @date on  2019/3/27 11:37
 * @description V1.0
 */
public  class UUIdGenId implements GenId<String> {
    public static String getId(){
        return UUID.randomUUID().toString().replace("-","");
    }
    @Override
    public String genId(String s, String s1) {
        return UUID.randomUUID().toString().replace("-","");
    }
}
